package com.yqg.manage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDate;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * front_five_bags 实体类
 *
 * @author zxf
 * @since 2025-08-06
 */
@Getter
@Setter
@TableName("front_five_bags")
@ApiModel(value = "FrontFiveBags对象", description = "")
public class FrontFiveBags implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("单位")
    private String name;

    @ApiModelProperty("商户id")
    private Long placeId;

    @ApiModelProperty("问题id")
    private Long problemId;

    @ApiModelProperty("表单内容")
    private String params;

    /**
     * （0:商户提交待签名，1：待审查，2：待审核，3：待审批，4：通过，5：驳回）
     */
    @ApiModelProperty("状态")
    private String status;

    @ApiModelProperty("驳回理由")
    private String rejectionReason;

    @ApiModelProperty("创建日期")
    private LocalDate createDate;

    @ApiModelProperty("是否删除")
    private String isDelete;

    /**
     * 处理对应问题描述
     */
    @TableField(exist = false)
    private String problem;

    /**
     * 发现问题的时间
     */
    @TableField(exist = false)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String problemTime;
}
